 <?php echo $this->fetch('library/page_header.lbi'); ?>
 <?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,utils.js,common.js')); ?>
<link type="text/css" href="<?php echo $this->_var['ecshop_css_path']; ?>css/detail.css" rel="stylesheet" />
  
  <div id="s_bdw">
    <div id="s_bd">
      <div class="zadv"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/3215wa.jpg" width="980" height="62" alt="" /></a></div>
      
      <div class="breadcrumbs">
        <div class="f-l"><a href="#">全部结果</a><span>»</span><a href="#">食品、饮料、酒水</a><span>»</span><a href="#">进口食品</a><span>»</span>进口米</div>
      </div>
      
      <div class="detail cf">
        
        <div class="f-l filmslide">

          <div id="vertical" class="bigImg">
          
            <img src="<?php echo $this->_var['goods']['goods_img']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?>" width="380" height="380" alt="" id="midimg" />
            <div style="display:none;" id="winSelector"></div>
          </div>
          
          <div class="smallpic">
            <a title="左移" href="#left" class="abtn aleft agrayleft"></a>
            <div class="smallscroll" id="imageMenu">
              <ul>
           
             <?php $_from = $this->_var['pictures']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'picture');if (count($_from)):
    foreach ($_from AS $this->_var['picture']):
?>
                <li id="onlickImg"><img src="<?php if ($this->_var['picture']['thumb_url']): ?><?php echo $this->_var['picture']['thumb_url']; ?><?php else: ?><?php echo $this->_var['picture']['img_url']; ?><?php endif; ?>"  alt="<?php echo $this->_var['goods']['goods_name']; ?>" width="50" height="50" /></li>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
              </ul>
            </div>
            <a title="右移" href="#right" class="abtn aright"></a>
          </div>
          
          <div id="bigView" style="display: none;"><img width="600" height="600" alt="" src=""/></div>
          
          <div class="sharecon"><a class="kaixin" href="#">分享到开心网</a><a class="xinlang" href="#">分享到新浪微博</a><a class="tengxun" href="#">转播到微博</a></div>
          
        </div>
        
        <script type="text/javascript" src="<?php echo $this->_var['ecshop_css_path']; ?>js/slider.js"></script>
        <script type="text/javascript">
        $(document).ready(function(){
          
          //点击到中图
          var midChangeHandler = null;
          $("#imageMenu li img").bind("click",
            function() {
        
              if ($(this).attr("id") != "onlickImg") {
                midChange($(this).attr("src").replace("small", "mid"));
                $("#imageMenu li").removeAttr("id");
                $(this).parent().attr("id", "onlickImg");
              }
            }).bind("mouseover",
            function() {
              if ($(this).attr("id") != "onlickImg") {
                window.clearTimeout(midChangeHandler);
                midChange($(this).attr("src").replace("small", "mid"));
              }
            }).bind("mouseout", function() {
              if ($(this).attr("id") != "onlickImg") {
                $(this).removeAttr("style");
                midChangeHandler = window.setTimeout(function() {
                  midChange($("#onlickImg img").attr("src").replace("small", "mid"));
                }, 1000);
        
              }
            });
        
          function midChange(src) {
            $("#midimg").attr("src", src).load(function() {
              changeViewImg();
            });
          }
        
          //大视窗看图
          function mouseover(e) {
            if ($("#winSelector").css("display") == "none") {
              $("#winSelector,#bigView").show();
            }
        
            $("#winSelector").css(fixedPosition(e));
            e.stopPropagation();
          }
        
        
          function mouseOut(e) {
            if ($("#winSelector").css("display") != "none") {
              $("#winSelector,#bigView").hide();
            }
            e.stopPropagation();
          }
        
        
          $("#midimg").mouseover(mouseover); //中图事件
          $("#midimg,#winSelector").mousemove(mouseover).mouseout(mouseOut); //选择器事件
        
          var $divWidth = $("#winSelector").width(); //选择器宽度
          var $divHeight = $("#winSelector").height(); //选择器高度
          var $imgWidth = $("#midimg").width(); //中图宽度
          var $imgHeight = $("#midimg").height(); //中图高度
          var $viewImgWidth = $viewImgHeight = $height = null; //IE加载后才能得到 大图宽度 大图高度 大图视窗高度
        
          function changeViewImg() {
            $("#bigView img").attr("src", $("#midimg").attr("src").replace("mid", "big"));
          }
        
          changeViewImg();
        
          $("#bigView").scrollLeft(0).scrollTop(0);
          function fixedPosition(e) {
            if (e == null) {
              return;
            }
            var $imgLeft = $("#midimg").offset().left; //中图左边距
            var $imgTop = $("#midimg").offset().top; //中图上边距
            X = e.pageX - $imgLeft - $divWidth / 2; //selector顶点坐标 X
            Y = e.pageY - $imgTop - $divHeight / 2; //selector顶点坐标 Y
            X = X < 0 ? 0 : X;
            Y = Y < 0 ? 0 : Y;
            X = X + $divWidth > $imgWidth ? $imgWidth - $divWidth : X;
            Y = Y + $divHeight > $imgHeight ? $imgHeight - $divHeight : Y;
        
            if ($viewImgWidth == null) {
              $viewImgWidth = $("#bigView img").outerWidth();
              $viewImgHeight = $("#bigView img").height();
              if ($viewImgWidth < 200 || $viewImgHeight < 200) {
                $viewImgWidth = $viewImgHeight = 800;
              }
              $height = $divHeight * $viewImgHeight / $imgHeight;
              $("#bigView").width($divWidth * $viewImgWidth / $imgWidth);
              $("#bigView").height($height);
            }
        
            var scrollX = X * $viewImgWidth / $imgWidth;
            var scrollY = Y * $viewImgHeight / $imgHeight;
            $("#bigView img").css({"left": scrollX * -1, "top": scrollY * -1});
        
        
            $("#bigView").css({"top": 0, "left":$(".filmslide").width()+15});
        
            return {left: X, top: Y};
          }
          
          $(".smallpic").xslider({
            unitdisplayed:5,
            movelength:1,
            unitlen:68
          });
        });
        </script>
      <form action="javascript:addToCart(<?php echo $this->_var['goods']['goods_id']; ?>)" method="post" name="ECS_FORMBUY" id="ECS_FORMBUY" >
        <div class="f-r desummary">
          <h1><?php echo $this->_var['goods']['goods_name']; ?></h1>
          <div class="comtotal"><span class="starpoint"></span><a class="red" href="#">(已经有225人评价)</a></div>
          <div class="dl01"><span class="f-l">1号店价：<strong class="red"><?php echo $this->_var['goods']['shop_price']; ?></strong></span>
          <a title="降价通知" class="downtip" href="#"></a><span class="f-l projf">购买该商品，可获得 <b class="red">310</b> 积分！ <a class="more" href="#">了解积分制度>></a></span></div>
          <br>

          <div class="dl02">市场价：<del><?php echo $this->_var['goods']['market_price']; ?></del>
          <br />
          
          <div class="dl02"><?php echo $this->_var['lang']['amount']; ?>：<font id="ECS_GOODS_AMOUNT" class="shop"></font>
          <br>
          提示：特价商品，不能使用优惠券</div>

          <div class="dl03">
            <div class="addnum">
              <span class="f-l">我要买</span>
              <div class="f-l numinput">
                <a class="reduce" onClick="setAmount.reduce('#qty_item_1')" href="javascript:void(0)"></a>
                            <input onblur="changePrice()" type="text" name="number" value="1" id="number" onKeyUp="setAmount.modify('#qty_item_1')" class="stext"/>
                            <a class="add" onClick="setAmount.add('#qty_item_1')" href="javascript:void(0)"></a>
              </div>
              <span class="f-l">限购1件</span>
            </div>
            <div class="addbtn">
              <input type="submit" name="" value="" id="" class="catbtnimg" /><span class="f-l"><a href="#">收藏</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">价格举报</a></span>
            </div>
          </div>
          <div class="dl04">
            <table>
              <tr>
                <th>批发数量</th><th>批发价格</th>
              </tr>
              <tr>
                <td>2-5</td><td><b class="yellow">140.59</b>(5%)</td>
              </tr>
              <tr>
                <td>2-5</td><td><b class="yellow">140.59</b>(5%)</td>
              </tr>
              <tr>
                <td>2-5</td><td><b class="yellow">140.59</b>(5%)</td>
              </tr>
            </table>
          </div>
          <ul>
          
          
      <?php $_from = $this->_var['specification']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('spec_key', 'spec');if (count($_from)):
    foreach ($_from AS $this->_var['spec_key'] => $this->_var['spec']):
?>
      <li class="padd loop">
      <strong><?php echo $this->_var['spec']['name']; ?>:</strong><br />
        
                    <?php if ($this->_var['spec']['attr_type'] == 1): ?>
                      <?php if ($this->_var['cfg']['goodsattr_style'] == 1): ?>
                        <?php $_from = $this->_var['spec']['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['value']):
?>
                        <label for="spec_value_<?php echo $this->_var['value']['id']; ?>">
                        <input type="radio" name="spec_<?php echo $this->_var['spec_key']; ?>" value="<?php echo $this->_var['value']['id']; ?>" id="spec_value_<?php echo $this->_var['value']['id']; ?>" <?php if ($this->_var['key'] == 0): ?>checked<?php endif; ?> onclick="changePrice()" />
                        <?php echo $this->_var['value']['label']; ?> [<?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?> <?php echo $this->_var['value']['format_price']; ?>] </label><br />
                        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                        <input type="hidden" name="spec_list" value="<?php echo $this->_var['key']; ?>" />
                        <?php else: ?>
                        <select name="spec_<?php echo $this->_var['spec_key']; ?>" onchange="changePrice()">
                          <?php $_from = $this->_var['spec']['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['value']):
?>
                          <option label="<?php echo $this->_var['value']['label']; ?>" value="<?php echo $this->_var['value']['id']; ?>"><?php echo $this->_var['value']['label']; ?> <?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?><?php if ($this->_var['value']['price'] != 0): ?><?php echo $this->_var['value']['format_price']; ?><?php endif; ?></option>
                          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                        </select>
                        <input type="hidden" name="spec_list" value="<?php echo $this->_var['key']; ?>" />
                      <?php endif; ?>
                    <?php else: ?>
                      <?php $_from = $this->_var['spec']['values']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['value']):
?>
                      <label for="spec_value_<?php echo $this->_var['value']['id']; ?>">
                      <input type="checkbox" name="spec_<?php echo $this->_var['spec_key']; ?>" value="<?php echo $this->_var['value']['id']; ?>" id="spec_value_<?php echo $this->_var['value']['id']; ?>" onclick="changePrice()" />
                      <?php echo $this->_var['value']['label']; ?> [<?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?> <?php echo $this->_var['value']['format_price']; ?>] </label><br />
                      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                      <input type="hidden" name="spec_list" value="<?php echo $this->_var['key']; ?>" />
                    <?php endif; ?>
      </li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      
          </ul>
          </form>
          <ul class="dl05">
            <li><span class="f-l tit">商品编号：</span><span class="f-l"><?php echo $this->_var['goods']['goods_sn']; ?></span></li>
            <li><span class="f-l tit">品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌：</span><span class="f-l"><?php echo $this->_var['goods']['goods_brand']; ?></span></li>
            <li><span class="f-l tit">规&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格：</span><span class="f-l">DJ12B-A11</span></li>
            <li><span class="f-l tit">库存状态：</span><span class="f-l"><?php echo $this->_var['goods']['goods_number']; ?></span></li>
            <li><span class="f-l tit">配送限制：</span><span class="f-l">无限制 <a class="more" href="#">运费详情>></a></span></li>
          </ul>
          <div class="dl06">
            <dl class="hg"><dt></dt><dd>1号店(除服装鞋帽)全场单笔消费满1元，即可换购以下赠品，赠完为止，多买多享</dd></dl>
            <div class="hgscrollbox">
              <a title="左移" href="#left" class="abtn aleft agrayleft"></a>
              <div class="hgscrollpic">
                <ul>
                  <li>
                    <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                    <dl>
                      <dt><a href="#">香港念庵堂西...</a></dt>
                      <dd><del>￥23.8</del></dd>
                      <dd><strong>数量:<span class="red">1</span>个</strong></dd>
                      <dd><strong class="red">换购价：￥9.9</strong></dd>
                      <dd><a class="ljbtn" href="#"></a></dd>
                    </dl>
                  </li>
                  <li>
                    <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                    <dl>
                      <dt><a href="#">香港念庵堂西...</a></dt>
                      <dd><del>￥23.8</del></dd>
                      <dd><strong>数量:<span class="red">1</span>个</strong></dd>
                      <dd><strong class="red">换购价：￥9.9</strong></dd>
                      <dd><a class="ljbtn" href="#"></a></dd>
                    </dl>
                  </li>
                  <li>
                    <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                    <dl>
                      <dt><a href="#">香港念庵堂西...</a></dt>
                      <dd><del>￥23.8</del></dd>
                      <dd><strong>数量:<span class="red">1</span>个</strong></dd>
                      <dd><strong class="red">换购价：￥9.9</strong></dd>
                      <dd><a class="ljbtn" href="#"></a></dd>
                    </dl>
                  </li>
                </ul>
              </div>
              <a title="右移" href="#right" class="abtn aright"></a>
            </div>
            
            <script type="text/javascript">
            $(function(){
              $(".hgscrollbox").xslider({
                unitdisplayed:2,
                movelength:1,
                unitlen:260
              });
            })
            </script>
            
          </div>
        </div>
        
        <script type="text/javascript">
        /* reduce_add */
        var setAmount = {
          min:1,
          max:999,
          reg:function(x) {
            return new RegExp("^[1-9]\\d*$").test(x);
          },
          amount:function(obj, mode) {
            var x = $(obj).val();
            if (this.reg(x)) {
              if (mode) {
                x++;
              } else {
                x--;
              }
            } else {
              alert("请输入正确的数量！");
              $(obj).val(1);
              $(obj).focus();
            }
            return x;
          },
          reduce:function(obj) {
            var x = this.amount(obj, false);
            if (x >= this.min) {
              $(obj).val(x);
            } else {
              alert("商品数量最少为" + this.min);
              $(obj).val(1);
              $(obj).focus();
            }
          },
          add:function(obj) {
            var x = this.amount(obj, true);
            if (x <= this.max) {
              $(obj).val(x);
            } else {
              alert("商品数量最多为" + this.max);
              $(obj).val(999);
              $(obj).focus();
            }
          },
          modify:function(obj) {
            var x = $(obj).val();
            if (x < this.min || x > this.max || !this.reg(x)) {
              alert("请输入正确的数量！");
              $(obj).val(1);
              $(obj).focus();
            }
          }
        }
        </script>
        
        <div class="clear"></div>
        
        <div class="setmeal">
          <dl class="setmealtab">
            <dt><a class="current" href="javascript:void(0);">优惠套餐</a></dt>
            <dd class="cf">
              <div class="f-l setmeallist cf">
                <div class="setmeallistbox">
                  <table>
                    <tr>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                      <td valign="top"><div class="addicon"></div></td>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                      <td valign="top"><div class="addicon"></div></td>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                      <td valign="top"><div class="addicon"></div></td>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                      <td valign="top"><div class="addicon"></div></td>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                      <td valign="top"><div class="addicon"></div></td>
                      <td>
                        <div class="setmealpic">
                          <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
                          <p><a href="#">九阳营养王系列豆浆机DJ14B-D06</a></p>
                          <p>数量<strong class="red">1</strong></p>
                        </div>
                      </td>
                    </tr>
                  </table>
                </div>
              </div>
              
              <div class="f-r setmealldis">
                <h3>优惠套餐1</h3>
                <p>套装价：<strong class="yellow">￥598</strong></p>
                <a class="setmeallbtn" href="#">购买优惠套餐</a>
              </div>
            </dd>
          </dl>
        </div>
        
        <script type="text/javascript">
        $(function(){
          $(".dtsummary").switchTab({titCell: "dt a", trigger: "click", titOnClassName: "current", delayTime: 0});
        })
        </script>
        
        <div class="dtsummary">
          <dl>
            <dt>
              <a class="current" href="javascript:void(0);"><span>产品介绍</span></a>
              <a href="javascript:void(0);"><span>规格参数</span></a>
              <a href="javascript:void(0);"><span>保修条款</span></a>
              <a href="javascript:void(0);"><span>包装清单</span></a>
            </dt>
            <dd>
            <?php echo $this->_var['goods']['goods_desc']; ?>
            </dd>
          </dl>
        </div>
        
        <script type="text/javascript">
        $(function(){
          $("#mydiscuss").switchTab({titCell: "dt a", trigger: "click", mainCell: ".discusstabcon", titOnClassName: "current", delayTime: 0});
        })
        </script>
        
        <div class="discuss" id="mydiscuss">
          <h2>买家体验</h2>
          <dl>
            <dt class="discusstab"><a class="current" href="javascript:void(0);">全部评论</a><a href="javascript:void(0);">好评(100)</a><a href="javascript:void(0);">中评(100)</a><a href="javascript:void(0);">差评(100)</a></dt>
            <dd class="discusstabcon">
              <div class="discussnum cf">
                <div class="f-l disnum">
                  <strong>100%</strong><span>好评</span>
                </div>
                <div class="f-l disbar">
                  <dl class="cf">
                    <dt>好评</dt><dd class="barbox"><div class="bar" style="width:97%;"></div></dd><dd>97%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>中评</dt><dd class="barbox"><div class="bar" style="width:1%;"></div></dd><dd>1%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>差评</dt><dd class="barbox"><div class="bar" style="width:2%;"></div></dd><dd>2%</dd>
                  </dl>
                </div>
                <div class="f-l pl5">前5位评论用户：a35***,rur***,a35***,rur***,rur***</div>
                <div class="f-r plbtn">
                  <span>我在1号店买过此产品</span>
                  <a class="plbtnimg" href="#"></a>
                </div>
              </div>
              
              <div class="discusslist">
                <ul>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                </ul>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
              
            </dd>
            <dd class="discusstabcon">
              <div class="discussnum cf">
                <div class="f-l disnum">
                  <strong>100%</strong><span>好评</span>
                </div>
                <div class="f-l disbar">
                  <dl class="cf">
                    <dt>好评</dt><dd class="barbox"><div class="bar" style="width:97%;"></div></dd><dd>97%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>中评</dt><dd class="barbox"><div class="bar" style="width:1%;"></div></dd><dd>1%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>差评</dt><dd class="barbox"><div class="bar" style="width:2%;"></div></dd><dd>2%</dd>
                  </dl>
                </div>
                <div class="f-l pl5">前5位评论用户：a35***,rur***,a35***,rur***,rur***</div>
                <div class="f-r plbtn">
                  <span>我在1号店买过此产品</span>
                  <a class="plbtnimg" href="#"></a>
                </div>
              </div>
              
              <div class="discusslist">
                <ul>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                </ul>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
              
            </dd>
            <dd class="discusstabcon">
              <div class="discussnum cf">
                <div class="f-l disnum">
                  <strong>100%</strong><span>好评</span>
                </div>
                <div class="f-l disbar">
                  <dl class="cf">
                    <dt>好评</dt><dd class="barbox"><div class="bar" style="width:97%;"></div></dd><dd>97%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>中评</dt><dd class="barbox"><div class="bar" style="width:1%;"></div></dd><dd>1%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>差评</dt><dd class="barbox"><div class="bar" style="width:2%;"></div></dd><dd>2%</dd>
                  </dl>
                </div>
                <div class="f-l pl5">前5位评论用户：a35***,rur***,a35***,rur***,rur***</div>
                <div class="f-r plbtn">
                  <span>我在1号店买过此产品</span>
                  <a class="plbtnimg" href="#"></a>
                </div>
              </div>
              
              <div class="discusslist">
                <ul>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                </ul>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
              
            </dd>
            <dd class="discusstabcon">
              <div class="discussnum cf">
                <div class="f-l disnum">
                  <strong>100%</strong><span>好评</span>
                </div>
                <div class="f-l disbar">
                  <dl class="cf">
                    <dt>好评</dt><dd class="barbox"><div class="bar" style="width:97%;"></div></dd><dd>97%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>中评</dt><dd class="barbox"><div class="bar" style="width:1%;"></div></dd><dd>1%</dd>
                  </dl>
                  <dl class="cf">
                    <dt>差评</dt><dd class="barbox"><div class="bar" style="width:2%;"></div></dd><dd>2%</dd>
                  </dl>
                </div>
                <div class="f-l pl5">前5位评论用户：a35***,rur***,a35***,rur***,rur***</div>
                <div class="f-r plbtn">
                  <span>我在1号店买过此产品</span>
                  <a class="plbtnimg" href="#"></a>
                </div>
              </div>
              
              <div class="discusslist">
                <ul>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                  <li class="cf">
                    <div class="f-l dislpic"><a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/qzx.gif" width="48" height="48" alt="" /></a><span>cho***</span></div>
                    <div class="f-l disrdis">
                      <div class="disdate"><span class="f-l">2011-10-28</span><span class="f-l">评论</span><span class="starpoint"></span></div>
                      <div class="disinfo"><span class="f-l">评论：真的是李鬼还没仔细看要知道不是念慈庵才不会要！</span><div class="f-r withme"><span class="f-l">这个评论对我</span><a href="#">有用 <b class="red">0</b></a><a href="#">没用 <b class="red">0</b></a></div>
                    </div>
                  </li>
                </ul>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
              
            </dd>
          </dl>
        </div>
        
        <script type="text/javascript">
        $(function(){
          $(".afq").switchTab({titCell: "dt a", trigger: "click", mainCell: ".discusstabcon", titOnClassName: "current", delayTime: 0});
        })
        </script>
        
        <div class="discuss afq">
          <h2>商品问答</h2>
          <div class="afqtip">关于产品价格，保质期，促销活动的留言具有时效性，回复仅供参考只在一定时间内有效。</div>
          <dl>
            <dt class="discusstab"><a class="current" href="javascript:void(0);">商品</a><a href="javascript:void(0);">配送</a><a href="javascript:void(0);">支付</a><a href="javascript:void(0);">售后</a></dt>
            <dd class="discusstabcon">
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
            </dd>
            <dd class="discusstabcon">
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
            </dd>
            <dd class="discusstabcon">
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
            </dd>
            <dd class="discusstabcon">
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              <div class="afqlist">
                <dl class="cf">
                  <dt class="quiz"></dt><dd>这个瓶子里面，打开，没有塑封来密封的吗？</dd>
                  <dd class="last">提问者：mildred.v*** 2011-10-25</dd>
                </dl>
                <dl class="cf">
                  <dt class="answer"></dt><dd>您好，内有橡胶盖子，感谢您支持1号店！祝您购物愉快！</dd>
                  <dd class="last">回答者：【管理员】 2011-11-01</dd>
                </dl>
                <div class="myanswer">
                  <a class="f-r" href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/myanswer.gif" width="60" height="22" alt="我来解答" align="baseline" /></a><span class="f-r">共有1条解答</span>
                </div>
              </div>
              
              <div class="afqpage">
                <div class="f-r pagination">
                  <span class="disabled">&lt; 上一页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a><span class="dian3">...</span><a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2">下一页 &gt; </a><div class="yepage">到第<input class="stext" type="text" name="" id="" value="1" />页<input class="btnimg" type="submit" name="" id="" value="" /></div>
                </div>
              </div>
            </dd>
          </dl>
        </div>
        
        <div class="recommend">
          <h2>看过本商品的人还看过</h2>
          <ul class="cf">
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
            <li>
              <a href="#"><img src="<?php echo $this->_var['ecshop_css_path']; ?>images/1119969_115x115.jpg" width="115" height="115" alt="" /></a>
              <dl>
                <dt><a href="#">九阳豆浆机DJ13B-D08</a></dt>
                <dd><del>￥599</del></dd>
                <dd><strong class="red">￥439.0</strong></dd>
                <dd><a class="addcat" href="#"></a></dd>
              </dl>
            </li>
          </ul>
        </div>
        
      </div>
      
    </div>
  </div>  
   <?php echo $this->fetch('library/page_footer.lbi'); ?>
   <script type="text/javascript">
  var goodsId=<?php echo $this->_var['goods_id']; ?>;

   onload = function(){
  changePrice();
}
     /**
 * 点选可选属性或改变数量时修改商品价格的函数
 */
function changePrice()
{
  var attr = getSelectedAttributes(document.forms['ECS_FORMBUY']);
  var qty = document.forms['ECS_FORMBUY'].elements['number'].value;

  Ajax.call('goods.php', 'act=price&id=' + goodsId + '&attr=' + attr + '&number=' + qty, changePriceResponse, 'GET', 'JSON');
}


/**
 * 接收返回的信息
 */
function changePriceResponse(res)
{
  if (res.err_msg.length > 0)
  {
    alert(res.err_msg);
  }
  else
  {
    document.forms['ECS_FORMBUY'].elements['number'].value = res.qty;

    if (document.getElementById('ECS_GOODS_AMOUNT'))
      document.getElementById('ECS_GOODS_AMOUNT').innerHTML = res.result;
  }
}

   </script>